package com.sumainfor.pc.market.service;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.market.dao.HousingInfoStateMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *
 * <p>
 *
 * @author: zhoucong
 * @create: 2019-04-13 19:48
 **/
@Service
public class HousingInfoStateServiceImpl implements Serializable {

    @Autowired
    HousingInfoStateMapper housingInfoStateMapper;

    /**
    * <p>
    * 待審核配置房源的數量
    * </p>
    *
    * @author: zhoucong
    * @since:
    */
    public Integer getAuditHousingCount(){
        return housingInfoStateMapper.getAuditHousingCount();
    }

    /**
    * <p>
    * 待审核配置房源
    * </p>
    *
    * @author: zhoucong
    * @since:
    */
    public List<Map<String,Object>> getAuditHousing(Map<String,Object> params){
        return housingInfoStateMapper.getAuditHousing(params);
    }

}
